﻿@using CommandLib
@using FindArtInfo.Common
@using Resources
@model FindArtInfo.Models.PageHomeModel
@{
    ViewBag.Title = "Art prices, art appraisal - Search free";
    Layout = "~/Views/Shared/_Layout.cshtml";
}
    <table width="100%" cellspacing="0" cellpadding="0" border="0" id="table5">
        <tr>
            <td valign="top" align="left">
                @if(Model.Advertise != null)
                {
                    <p style="text-align: center;">
                        <a style="border: 0px currentColor;" href="@Model.Advertise.UrlRedirect">
                            <img width="418px" height="178px" align="absMiddle" border="0" alt="@Model.Advertise.Title" src="~/Content/Images/@Model.Advertise.ImageName">
                        </a>
                    </p>
                }
                <h1 class="underline">@Multi.PageHomeTile</h1>                      
                @Html.Raw(string.Format(Multi.PageHomeMessage1, Utils.FomatNumber(Model.CountArt.Artists), Utils.FomatNumber(Model.CountArt.Price), Utils.FomatNumber(Model.CountArt.Signatures), Utils.FomatNumber(Model.CountArt.Artwork)))
                <p></p>
                @using (Html.BeginForm("Search", "Home", FormMethod.Post))
                {                    
                    <table width="418" cellspacing="0" cellpadding="2" border="0" id="table6">
                        <tr>
                            <td>
                                <b style="font-size: 12px;">@Html.LabelFor(m => m.HomeArtistName, Multi.PageHomeArtistName)</b>
                            </td>
                            <td valign="middle" style="display: inline;" class="greytext">                        
                                @Html.TextBoxFor(m => m.HomeArtistName, new {@maxlength = "50", @size = "20", @style = "height: 23px; padding-right: 5px; font-size: 13px !important;"})
                                <input type="submit" value="@Multi.PageHomeSubmit" class="knap" onmouseout="co(this, 'out');" onmouseover=" co(this, 'in');">
                            </td>
                        </tr>
                    </table>
                }													
                <p align="right">                                    
                    <a href="~/@Utils.GetUrlByLanguage(CookiesStore.GetCookies(Constants.Cookie.COOKIE_LANGUAGE))/advanced-search.html"></a>
                </p>
                <div align="center"><p><br />
                                                        <script type="text/javascript"><!--
    google_ad_client = "ca-pub-9919834382971549";
    /* Findartinfo.com (Søgefelt) */
    google_ad_slot = "9213259759";
    google_ad_width = 250;
    google_ad_height = 250;
    //-->
                                                            </script>
                                                            <script type="text/javascript"
                                                            src="~/Scripts/show_ads.js">
                                                            </script>
                                                        </p><br />
                                                        </div>
                <p>
                </p>
                @Html.Raw(string.Format(Multi.PageHomeMessage2, Utils.FomatNumber(Model.CountArt.Price), Utils.FomatNumber(Model.CountArt.Signatures), Utils.FomatNumber(Model.CountArt.Artwork), Utils.GetUrlByLanguage(CookiesStore.GetCookies(Constants.Cookie.COOKIE_LANGUAGE))))
                <br>
													
            </td>
            <td width="21" valign="top" background="/Content/Images/lodret.gif" align="left">
                &nbsp;
            </td>                                                    
            <td width="320" valign="top" align="left">                       
                <h2 align="center" class="underline" style="padding-top: 10px;">
                    @Html.LabelFor(m => m.HomeRandomPrice, Multi.PageHomeRandomPrice) @Model.ArtistHome.ArtistsFullName
                </h2>
                <div class="faktabox" style="margin-top: 10px;">
                    <font face="Verdana">
                        <span style="text-decoration: none">
                              <table cellspacing="0" cellpadding="0" border="0">
                                  <tr>
                                      <td valign="top" align="left" colspan="2">                                                             
                                          <a title="@Model.ArtistHome.Title" rel="imagezoom" href="@Utils.GetUrlImage(Model.ArtistHome.ArtWorkFile)">
                                              @{ string alt = string.Format("Artist {0} - FindArtinfo", Model.ArtistHome.ArtistsFullName);}
                                              <img style="width: 270px; height: 140px; border: 0;" src="@Utils.GetUrlImage(Model.ArtistHome.ArtWorkFile)" alt="@alt" />
                                          </a>
                                      </td>
                                  </tr>
                                  <tr><td style="height: 5px; font-size: 5px;" colspan="2">&nbsp;</td></tr>
                                  <tr>
                                      <td valign="top" align="left" style="padding-top: 5px;">
                                          <font color="#525E54"><b>@Html.LabelFor(m => m.HomeAuctionresult, Multi.PageHomeAuctionresult)</b>
                                              <br/>
                                              @Model.ArtistHome.AuctionResult
                                          </font>
                                      </td>
                                      <td align="right">                                
                                          <a title="" rel="imagezoom" href="@Utils.GetUrlImage(Model.ArtistHome.SignaturesFile)">
                                              <img style="width: 120px; height: 35px; border: 0;" src="@Utils.GetUrlImage(Model.ArtistHome.SignaturesFile)" alt="@alt" />
                                          </a>
                                      </td>
                                  </tr>
                                  <tr>
                                      <td valign="top" align="left" colspan="2" style="padding-top: 0px;">
                                          <font color="#525E54"><b>@Html.LabelFor(m=>m.HomeEstimatedPrice, Multi.PageHomeEstimatedPrice)</b>
                                              <br/>
                                              @Model.ArtistHome.EstimatedPrice
                                          </font>
                                      </td>
                                  </tr>
                                  <tr>
                                      <td valign="top" align="left" colspan="2" style="padding-top: 5px;">
                                          <font color="#525E54"><b>@Html.LabelFor(m=>m.HomeArtistTitle, Multi.PageHomeArtistTitle)</b>
                                              <br/>
                                              @Model.ArtistHome.Title
                                          </font>
                                      </td>
                                  </tr>
                                  <tr>
                                      <td valign="top" align="left" colspan="2" style="padding-top: 5px;">
                                          <font color="#525E54"><b>@Html.LabelFor(m=>m.HomeMedium, Multi.PageHomeMedium)</b>
                                              <br>
                                              @Model.ArtistHome.Medium
                                          </font>
                                      </td>
                                  </tr>
                                  <tr>
                                      <td valign="top" align="left" colspan="2" style="padding-top: 5px;">
                                          <font color="#525E54"><b>@Html.LabelFor(m=>m.HomePriceSize, Multi.PageHomePriceSize)</b>
                                              <br>
                                              @Model.ArtistHome.Size
                                          </font>
                                      </td>
                                  </tr>
                                  <tr>
                                      <td valign="top" align="left" colspan="2" style="padding-top: 5px;">
                                          <b>@Html.LabelFor(m=>m.HomeAuctionHouse, Multi.PageHomeAuctionHouse)</b>
                                          <br>
                                          <a href="@Model.ArtistHome.AuctionHouseLink" target="_blank" style="color:#525E54"><font color="#525E54">@Model.ArtistHome.AuctionHouseName</font></a>
                                      </td>
                                  </tr>
                              </table>	
                        </span>													
                    </font>
                </div>

                <div style="height: 10px; width: 100%;">&nbsp;</div>
			    <hr size="1" align="left" style="margin: 0; padding:0;">
			    <h2 align="center">
				    @Html.LabelFor(m=>m.HomePhotoOfArtWord, Multi.PageHomePhotoOfArtWord)<br>                    
                    <a href="~/@Utils.GetUrlByLanguage(CookiesStore.GetCookies(Constants.Cookie.COOKIE_LANGUAGE))/price-info/740075/@(Utils.UnicodeToKoDauAndGach("La joute des mariniers entre le pont Notre-Dame et le pont au Change")).html">
                        <img width="230" height="140" border="0" src="@Utils.GetUrlImage("/images/artwork/2006/3/a000740075-001.jpg")" alt="Artist Jean Baptiste Nicolas Raguenet - FindArtinfo">
                    </a>
			    </h2>
			    <hr size="1" align="left">
			    <h2 align="center">
				    @Html.LabelFor(m=>m.HomeSignature, Multi.PageHomeSignature)
				    <br>                    
                    <a href="~/@Utils.GetUrlByLanguage(CookiesStore.GetCookies(Constants.Cookie.COOKIE_LANGUAGE))/list-signatures-by-artist/114710/@(Utils.UnicodeToKoDauAndGach("Charles Reginald Aston")).html">    
                        <img width="230" height="64" border="0" src="@Utils.GetUrlImage("/images/signatures/2006/2/s0114710-001.jpg")" alt="Artist Jean Charles Reginald Aston - FindArtinfo">
                    </a>
			    </h2>
			    <hr size="1" align="left">
                <h2 align="center">                                        
                    <a href="~/@Utils.GetUrlByLanguage(CookiesStore.GetCookies(Constants.Cookie.COOKIE_LANGUAGE))/submit-your-site.html">@Html.Raw(Multi.PageHomeSubmitYourSite)</a>
                </h2>
                <div align="center">
                    @using (Html.BeginForm("Search", "Home", FormMethod.Post))
                    {
                        @Html.AntiForgeryToken()
                        <table width="140" height="60" cellspacing="0" cellpadding="0" border="0" background="/Content/Images/smallbannerbg.gif" id="table8">
                            <tbody>
                                <tr>
                                    <td>&nbsp;&nbsp;
                                        @Html.TextBoxFor(m => m.HomeArtistName, new {@size = "13"})
                                    </td>							
                                    <td><p align="center"><input type="submit" value="@Multi.PageHomeGo" style="float: left"/></p></td>
                                </tr>
                                <tr><td colspan="2">&nbsp;</td></tr>
                            </tbody>
                        </table>                        
                    }
                </div>
            </td>                                                    
        </tr>
    </table>
<script>
    window.addEvent("domready", function () {
        initImageZoom();
    });
</script>
